<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<html:html locale="true">
<head>
<title><bean:message key="welcome.title"/></title>
<html:base/>
<link type="text/css" rel="stylesheet" href="../stylesheets/main.css"/>
</head>
<body>
<div id="top">
<p>
<bean:message key="application.title"/>
</p>
<table>
<tr>
<td><bean:message key="application.mainmenu.home"/></td>
<td><html:link action="/userRegistration"><bean:message key="application.mainmenu.registration"/></html:link></td>
<td><html:link action="/administration"><bean:message key="application.mainmenu.administration"/></html:link></td>
<td><html:link action="/Logoff"><bean:message key="application.mainmenu.logoff"/></html:link></td>
</tr>
</table>
</div>
<div id="left">
<table>
<html:form action="userLogin" focus="userName">
	<tr>
	<td>
	<bean:message key="userLogin.userName" />
	</td>
	<td>
	<html:text property="userName" maxlength="12" size="10" style="font-size: 10px;"/>
	</td>
	</tr>

	<tr>
	<td>
	<bean:message key="userLogin.password" />
	</td>
	<td>
	<html:password property="password" maxlength="12" size="10" style="font-size: 10px;" redisplay="false"/>
	</td>
	</tr>

	<tr>
	<td>
	<html:submit value="login" style="font-size: 10px;"/>
	</td>
	</tr>
	</html:form>
</table>

</div>
<div id="middle">
<logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application">
  <font color="red">
    ERROR:  Application resources not loaded -- check servlet container
    logs for error messages.
  </font>
</logic:notPresent>



<p><bean:message key="welcome.link1"/></p>
<p><bean:message key="welcome.link2"/></p>
<p><bean:message key="welcome.message"/></p>


<p><html:link action="/contentSelection"><bean:message key="welcome.content.title"/></html:link></p>


</div>

<div id="right">

<table>
<tr>
<td><html:link action="/streaming">streaming</html:link></td>
</tr>
</table>

</div>


<div id="bottom">
<table align="center">
<tr><td align="center"><bean:message key="application.lastupdate"/></td></tr>
<tr><td><bean:message key="application.power.logo"/></td></tr>
</table>
</div>

</body>
</html:html>
